<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/8/18
 * Time: 15:42
 */

?>
<span class="vote main-bg-color">
    <?= Yii::t('app.c2', '{s1} Votes', ['s1' => $model->total_vote_number]) ?>
</span>
<img class="player_picture" src="<?= $model->getThumbnailUrl() ?>" alt="">
<div class="card-infos">
    <p class="player_name">
        <?= 'NO.' . $model->player_code . $model->label ?>
    </p>
    <a href="<?= \yii\helpers\Url::to(['/player', 'c' => $model->player_code]) ?>"
       class="btn btn-sm btn-block btn-r10 main-bg-color white-font"><?= Yii::t('app.c2', 'Vote It') ?></a>
    <div style="clear: both"></div>

</div>